@import (reference) "./../../shared/common";
.quote-chart {
  user-select: none;
  height: 100%;
  .axis path,
  .axis line {
    fill: none;
    stroke: none;
  }
  .tsChartContainer .x text {
    stroke: none;
    letter-spacing: 1px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑";
    font-size: 12px;
  }
  .tsChartContainer .y text {
    stroke: none;
    letter-spacing: 1px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑";
    font-size: 12px;
  }
  .lamp {
    animation: breathing 1.5s ease-in-out infinite
  }
  @keyframes breathing {
    0% {
      opacity: 0.3;
      r: 30;
    }
    50% {
      opacity: 0.8;
      r: 30;
    }
    100% {
      opacity: 0.3;
      r: 30;
    }
  }
}

:host {
  .display-flex;
}

.full-height {
  .quote-chart-outer,
  .quote-chart {
    .full-height;
  }
}

.quote-chart-header {
  margin: 0;
  font-size: 1.4rem;
  font-weight: normal;
  height: 28px;
  line-height: 28px;
}

.quote-chart-header {
  margin-left: 8px;
  font-size: 16px;
  font-weight: normal;
  height: 30px;
  line-height: 30px;
}

.quote-chart-outer {
  // height: 100%;
  .display-flex();
  .flex;
  .quote-chart-header {
    .flex;
    .flex-grow;
  }
  .quote-chart {
    width: 100%;
    .flex;
  }
  &.with-caption {
    .quote-chart {
      height: calc(~"100% - 28px");
    }
  }
}